<template>
  <view class="index tn-safe-area-inset-bottom">
    <!-- 顶部自定义导航 -->
    <tn-nav-bar fixed :isBack="false" :bottomShadow="false" backgroundColor="#FFFFFF">
      <view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
        <!-- 图标logo -->
        <view class="custom-nav__back" @click="tn('/preferredPages/classify')">
          <!-- <view class="logo-pic" style="background-image:url('https://tnuiimage.tnkjapp.com/simple/logo-flower.jpg')">
            <view class="logo-image">
            </view>
          </view> -->
          <view class="tn-icon-menu" style="font-size: 50rpx;"></view>
        </view>
        <!-- 搜索框 -->
        <view class="custom-nav__search tn-flex tn-flex-col-center tn-flex-row-center" @click="tn('')">
          <view class="custom-nav__search__box tn-flex tn-flex-col-center tn-flex-row-left" style="background-color: rgba(230,230,230,0.3);">
            <view class="custom-nav__search__icon tn-icon-search tn-color-gray"></view>
            <view class="custom-nav__search__text tn-padding-left-xs tn-color-gray">搜索</view>
          </view>
        </view>
      </view>
    </tn-nav-bar>
	
	
    
    <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top" :style="{paddingTop: vuex_custom_bar_height + 'px'}">
		<tn-tabs :list="scrollList" :current="current" @change="tabChange" activeColor="#000" :bold="true" :fontSize="36"></tn-tabs>
	</view>
    <view v-if="current===0">
		
		<!-- 	<view class="tn-padding-bottom-lg">
				<view class="tn-flex tn-flex-row-between tn-margin-top" @click="tn('')">
				  <view class="justify-content-item tn-margin tn-text-bold tn-text-xxl">
				    热门美食
				  </view>
				  <view class="justify-content-item tn-margin tn-text-lg tn-color-cat">
				    <text class="tn-padding-xs">全部</text>
				    <text class="tn-icon-topics"></text>
				  </view>
				</view>
				<view class="tn-padding-top-sm tn-padding-bottom-sm">
				  <tn-scroll-list :indicatorWidth="100" :indicatorBarWidth="30" indicatorColor="#FFE2D9" indicatorActiveColor="#FF7043">
				    <view class="tn-flex tn-margin-left-sm tn-margin-right-sm tn-margin-top">
				      <block v-for="(item, index) in shopsList" :key="index">
				        <view class="tn-flex-1 tn-padding-sm tn-radius">
				          <view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
							<view class="icon5__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur" :style="`background-image: url(${item.url});background-size:100% 100%;`">
							</view>
				            <view class="tn-color-black tn-text-sm tn-text-center tn-margin-top-sm">
				              <text class="tn-text-ellipsis" >美食名称</text>
				            </view>
				          </view>
				        </view>
				      </block>
				    </view>
				  </tn-scroll-list>
				</view>
			</view>
		    -->
		    <view class="tn-padding-bottom-lg">
		      
		      <view class="tn-flex tn-flex-row-between tn-margin-top" @click="tn('')">
		        <view class="justify-content-item tn-margin tn-text-bold tn-text-xxl">
		          热门商家
		        </view>
		        <view class="justify-content-item tn-margin tn-text-lg tn-color-cat">
		          <text class="tn-padding-xs">筛选</text>
		          <text class="tn-icon-topics"></text>
		        </view>
		      </view>
		      
		      <!-- 图文 -->
		      <view class="tn-flex tn-flex-direction-column">
		        
		        <block v-for="(item,index) in content" :key="index">
		          <view class="tn-blogger-content__wrap" @click="tn('/preferredPages/shop')">
		            <view class="">
		              <image 
		                class="tn-blogger-content__main-image tn-blogger-content__main-image--1 tn-margin-bottom-xs"
		                :src="item.mainImage"
		                mode="aspectFill"
		              ></image>
		            </view>
		            <view class="tn-blogger-content__label tn-text-justify">
		              <text class="tn-blogger-content__label__desc tn-text-lg tn-text-bold tn-color-cat">{{ item.desc }}</text>  
		            </view>
		            
		            <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top-xs">
		              <view class="justify-content-item tn-flex tn-flex-col-center">
		                <view style="margin-right: 10rpx;margin-left: 0rpx;">
		                  <view class="tn-color-gray">
		                    <text class="tn-blogger-content__count-icon tn-icon-flower"></text> 
		                    <text class="tn-padding-right">{{ item.collectionCount }}</text>
		                    <text class="tn-blogger-content__count-icon tn-icon-message"></text>
		                    <text class="tn-padding-right">{{ item.commentCount }}</text>
		                    <text class="tn-blogger-content__count-icon tn-icon-like"></text>
		                    <text class="">{{ item.likeCount }}</text>
		                  </view>
		                </view>
		              </view>
		              <view class="justify-content-item tn-text-center">
		                <view v-for="(label_item,label_index) in item.label" :key="label_index" class="tn-blogger-content__label__item tn-float-left">
		                  <text class="tn-blogger-content__label__item--prefix tn-icon-topics-fill"></text> {{ label_item }}
		                </view>
		              </view>
		            </view>
		          </view>
		          
		        </block>
		      </view>
		      
		    </view>
		
		    <view class='tn-tabbar-height'></view>
	</view>
	<view v-else>
		<!-- <swiper class="card-swiper" @click="tn('')" :circular="true"
		      :autoplay="true" duration="500" interval="8000" @change="cardSwiper"> 
		      <swiper-item v-for="(item,index) in swiperList" :key="index" :class="cardCur==index?'cur':''">
		        <view class="swiper-item image-banner" :style="'background-image:url('+ item.url + ');background-size: cover;border-radius: 15rpx;'">
		        </view>
		        <view class="swiper-item-text">
		          <view class="tn-text-bold tn-color-white" style="font-size: 50rpx;">{{item.title}}</view>
		          <view class="tn-color-white tn-padding-top" style="font-size: 30rpx;">{{item.name}}</view>
		          <view class="tn-text-sm tn-text-bold tn-color-white tn-padding-top-sm tn-padding-bottom-sm">{{item.text}}</view>
		        </view>
		      </swiper-item>
		    </swiper> -->
		    <!-- <view class="indication">
		        <block v-for="(item,index) in swiperList" :key="index">
		            <view class="spot" :class="cardCur==index?'active':''"></view>
		        </block>
		    </view> -->
		<!-- 	<view class="tn-padding-bottom-lg">
				<view class="tn-flex tn-flex-row-between tn-margin-top" @click="tn('')">
				  <view class="justify-content-item tn-margin tn-text-bold tn-text-xxl">
				    热门美食
				  </view>
				  <view class="justify-content-item tn-margin tn-text-lg tn-color-cat">
				    <text class="tn-padding-xs">全部</text>
				    <text class="tn-icon-topics"></text>
				  </view>
				</view>
				<view class="tn-padding-top-sm tn-padding-bottom-sm">
				  <tn-scroll-list :indicatorWidth="100" :indicatorBarWidth="30" indicatorColor="#FFE2D9" indicatorActiveColor="#FF7043">
				    <view class="tn-flex tn-margin-left-sm tn-margin-right-sm tn-margin-top">
				      <block v-for="(item, index) in shopsList" :key="index">
				        <view class="tn-flex-1 tn-padding-sm tn-radius">
				          <view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
							<view class="icon5__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur" :style="`background-image: url(${item.url});background-size:100% 100%;`">
							</view>
				            <view class="tn-color-black tn-text-sm tn-text-center tn-margin-top-sm">
				              <text class="tn-text-ellipsis" >美食名称</text>
				            </view>
				          </view>
				        </view>
				      </block>
				    </view>
				  </tn-scroll-list>
				</view>
			</view>
		    -->
		    <view class="tn-padding-bottom-lg">
		      
		      <view class="tn-flex tn-flex-row-between tn-margin-top" @click="tn('')">
		        <view class="justify-content-item tn-margin tn-text-bold tn-text-xxl">
		          热门
		        </view>
		        <view class="justify-content-item tn-margin tn-text-lg tn-color-cat">
		          <text class="tn-padding-xs">筛选</text>
		          <text class="tn-icon-topics"></text>
		        </view>
		      </view>
		      
		      <!-- 图文 -->
		      <view class="tn-flex tn-flex-direction-column">
		        
		        <block v-for="(item,index) in content" :key="index">
		          <view class="tn-blogger-content__wrap" @click="tn('/preferredPages/shop')">
		            <view class="">
		              <image 
		                class="tn-blogger-content__main-image tn-blogger-content__main-image--1 tn-margin-bottom-xs"
		                :src="item.mainImage"
		                mode="aspectFill"
		              ></image>
		            </view>
		            <view class="tn-blogger-content__label tn-text-justify">
		              <text class="tn-blogger-content__label__desc tn-text-lg tn-text-bold tn-color-cat">{{ item.desc }}</text>  
		            </view>
		            
		            <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top-xs">
		              <view class="justify-content-item tn-flex tn-flex-col-center">
		                <view style="margin-right: 10rpx;margin-left: 0rpx;">
		                  <view class="tn-color-gray">
		                    <text class="tn-blogger-content__count-icon tn-icon-flower"></text> 
		                    <text class="tn-padding-right">{{ item.collectionCount }}</text>
		                    <text class="tn-blogger-content__count-icon tn-icon-message"></text>
		                    <text class="tn-padding-right">{{ item.commentCount }}</text>
		                    <text class="tn-blogger-content__count-icon tn-icon-like"></text>
		                    <text class="">{{ item.likeCount }}</text>
		                  </view>
		                </view>
		              </view>
		              <view class="justify-content-item tn-text-center">
		                <view v-for="(label_item,label_index) in item.label" :key="label_index" class="tn-blogger-content__label__item tn-float-left">
		                  <text class="tn-blogger-content__label__item--prefix tn-icon-topics-fill"></text> {{ label_item }}
		                </view>
		              </view>
		            </view>
		          </view>
		          
		        </block>
		      </view>
		      
		    </view>
		
		    <view class='tn-tabbar-height'></view>
	</view>
    
    
  </view>
</template>

<script>
  export default {
    name: 'Index',
    data(){
      return {
        cardCur: 0,
        isAndroid: true,
		scrollList: [
		  {name: '精品店'},
		  {name: '必吃菜'},
		],
		current: 0,
		shopsList: [{
		  id: 0,
		  type: 'image',
		  title: 'BUG再多',
		  name: '也别忘了',
		  text: '我无限续杯',
		  url: 'https://fastcdn.hidino.com/dinner/i1.png',
		}, {
		  id: 1,
		  type: 'image',
		  title: '图鸟南南',
		  name: '欢迎加入东东们',
		  text: '如果你也有不错的作品',
		  url: 'https://fastcdn.hidino.com/dinner/i2.png',
		}, {
		  id: 2,
		  type: 'image',
		  title: '图鸟西西',
		  name: '一起玩转scss',
		  text: '用最少的代码做最骚的效果',
		  url: 'https://fastcdn.hidino.com/dinner/i3.png',
		}, {
		  id: 3,
		  type: 'image',
		  title: '图鸟北北',
		  name: '微信号 tnkewo',
		  text: '商业合作请联系作者',
		  url: 'https://fastcdn.hidino.com/dinner/i4.png',
		}, {
		  id: 4,
		  type: 'image',
		  title: '图鸟猪猪',
		  name: '努力成为大佬',
		  text: '一起加油吖',
		  url: 'https://fastcdn.hidino.com/dinner/i5.png',
		},
		{
		  id: 5,
		  type: 'image',
		  title: 'BUG再多',
		  name: '也别忘了',
		  text: '我无限续杯',
		  url: 'https://fastcdn.hidino.com/dinner/i1.png',
		}, {
		  id: 6,
		  type: 'image',
		  title: '图鸟南南',
		  name: '欢迎加入东东们',
		  text: '如果你也有不错的作品',
		  url: 'https://fastcdn.hidino.com/dinner/i2.png',
		}, {
		  id: 7,
		  type: 'image',
		  title: '图鸟西西',
		  name: '一起玩转scss',
		  text: '用最少的代码做最骚的效果',
		  url: 'https://fastcdn.hidino.com/dinner/i3.png',
		}, {
		  id: 8,
		  type: 'image',
		  title: '图鸟北北',
		  name: '微信号 tnkewo',
		  text: '商业合作请联系作者',
		  url: 'https://fastcdn.hidino.com/dinner/i4.png',
		}, {
		  id: 9,
		  type: 'image',
		  title: '图鸟猪猪',
		  name: '努力成为大佬',
		  text: '一起加油吖',
		  url: 'https://fastcdn.hidino.com/dinner/i5.png',
		}],
        swiperList: [{
          id: 0,
          type: 'image',
          title: '美食',
          name: '更多彩蛋等你探索',
          url: 'https://fastcdn.hidino.com/dinner/i6.png',
        }, {
          id: 1,
          type: 'image',
          title: '合作勾搭',
          name: '作者微信 wsdogy',
          url: 'https://fastcdn.hidino.com/dinner/i7.png',
        }, {
          id: 2,
          type: 'image',
          title: '海量美食',
          name: '总有你没吃过的美食',
          url: 'https://fastcdn.hidino.com/dinner/i8.png',
        }],
        content: [
          {
            userAvatar: 'https://fastcdn.hidino.com/dinner/s5.png',
            userName: '铁板烧',
            date: '五年老店',
            label: ['烧烤','铁板'],
            desc: '卢氏铁板烧',
            mainImage: 'https://fastcdn.hidino.com/dinner/s5.png',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_1.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_2.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_3.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_4.jpeg'},
              ],
              viewUserCount: 129
            },
            collectionCount: 236,
            commentCount: 102,
            likeCount: 168
          },
          {
            userAvatar: 'https://fastcdn.hidino.com/dinner/s4.png',
            userName: '可我会像',
            date: '十年老店',
            label: ['面食'],
            desc: '永恒大碗面',
            mainImage: 'https://fastcdn.hidino.com/dinner/s4.png',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_1.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_2.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_3.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_4.jpeg'},
              ],
              viewUserCount: 129
            },
            collectionCount: 265,
            commentCount: 22,
            likeCount: 62
          },
          {
            userAvatar: 'https://fastcdn.hidino.com/dinner/s3.png',
            userName: '双流肥肠',
            date: '二十年老店',
            label: ['烧烤'],
            desc: '诚信铁板烧',
            mainImage: 'https://fastcdn.hidino.com/dinner/s3.png',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_1.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_2.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_3.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_4.jpeg'},
              ],
              viewUserCount: 129
            },
            collectionCount: 265,
            commentCount: 22,
            likeCount: 62
          },
          {
            userAvatar: 'https://tnuiimage.tnkjapp.com/blogger/avatar_1.jpeg',
            userName: '可我会像',
            date: '五年老店',
            label: ['串串','川菜'],
            desc: '老刘川菜',
            mainImage: 'https://fastcdn.hidino.com/dinner/s2.png',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_1.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_2.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_3.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_4.jpeg'},
              ],
              viewUserCount: 129
            },
            collectionCount: 265,
            commentCount: 22,
            likeCount: 62
          },
          {
            userAvatar: 'https://tnuiimage.tnkjapp.com/blogger/avatar_1.jpeg',
            userName: '麻辣火锅',
            date: '五年老店',
            label: ['川菜','好吃'],
            desc: '黄忠市场',
            mainImage: 'https://fastcdn.hidino.com/dinner/s1.png',
            viewUser: {
              latestUserAvatar: [
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_1.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_2.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_3.jpeg'},
                {src: 'https://tnuiimage.tnkjapp.com/blogger/avatar_4.jpeg'},
              ],
              viewUserCount: 129
            },
            collectionCount: 265,
            commentCount: 22,
            likeCount: 62
          }
        ]
      }
    },
    created() {
      const systemInfo = uni.getSystemInfoSync()
      if (systemInfo.system.toLocaleLowerCase().includes('ios')) {
        this.isAndroid = false
      } else {
        this.isAndroid = true
      }
    },
    methods: {
      // cardSwiper
      cardSwiper(e) {
        this.cardCur = e.detail.current
      },
		// tab选项卡切换
		tabChange(index) {
		  this.current = index
		  this.shopsList = this.shopsList.reverse()
		  this.content = this.content.reverse();
		},
      // 跳转
      tn(e) {
      	uni.navigateTo({
      		url: e,
      	});
      },
    }
  }
</script>

<style lang="scss" scoped>
  .index{
    max-height: 100vh;
  }
  /* 底部安全边距 start*/
  .tn-tabbar-height {
  	min-height: 120rpx;
  	height: calc(140rpx + env(safe-area-inset-bottom) / 2);
    height: calc(140rpx + constant(safe-area-inset-bottom));
  }
  
  
  /* 商家 start */
  .shops-swiper {
    height: 260rpx !important;
    overflow: hidden;
    // background-color: #00C3FF;
  }
    
  .shops-swiper swiper-item {
    width: 632rpx !important;
    left: -10rpx;
    box-sizing: border-box;
    overflow: initial;
    padding: 0 0rpx 40rpx 0;
  }
    
  .shops-swiper swiper-item .swiper-item {
    width: 100%;
    display: block;
    height: 100%;
    transform: scale(1);
    transition: all 0.2s ease-in 0s;
  }
  
  .icon5 {
    &__item {
      // width: 30%;
      background-color: #FFFFFF;
      border-radius: 10rpx;
      padding: 0rpx;
      margin: 0rpx;
      transform: scale(1);
      transition: transform 0.3s linear;
      transform-origin: center center;
      
      &--icon {
        width: 100rpx;
        height: 100rpx;
        border-radius: 50%;
        margin-bottom: 18rpx;
        position: relative;
        z-index: 1;
      }
    }
  }
    
  .shops-swiper swiper-item.cur .swiper-item {
    transform: none;
    transition: all 0.2s ease-in 0s;
  }
  
  .shops-swiper swiper-item .swiper-item-text {
    margin-top: -210rpx;
    width: 100%;
    display: block;
    height: 100%;
    border-radius: 10rpx;
    transform: translate(30rpx, -80rpx) scale(0.8, 0.8);
    transition: all 0.6s ease 0s;
    overflow: hidden;
  }
    
  .shops-swiper swiper-item.cur .swiper-item-text {
    margin-top: -270rpx;
    width: 100%;
    transform: translate(20rpx, 0rpx) scale(0.9, 0.9);
    transition: all 0.6s ease 0s;
  }

  /* 轮播视觉差 start */
  .card-swiper {
    height: 330rpx !important;
  }
    
  .card-swiper swiper-item {
    width: 750rpx !important;
    left: 0rpx;
    box-sizing: border-box;
    padding: 40rpx 30rpx 30rpx 30rpx;
    overflow: initial;
  }
    
  .card-swiper swiper-item .swiper-item {
    width: 100%;
    display: block;
    height: 100%;
    border-radius: 15rpx;
    transform: scale(1);
    transition: all 0.2s ease-in 0s;
    // overflow: hidden;
  }
    
  .card-swiper swiper-item.cur .swiper-item {
    transform: none;
    transition: all 0.2s ease-in 0s;
  }
    
  .card-swiper swiper-item .swiper-item-text {
    margin-top: -160rpx;
    text-align: center;
    width: 100%;
    display: block;
    height: 50%;
    border-radius: 10rpx;
    transform: translate(100rpx, -60rpx) scale(0.9, 0.9);
    transition: all 0.6s ease 0s;
    overflow: hidden;
  }
    
  .card-swiper swiper-item.cur .swiper-item-text {
    margin-top: -220rpx;
    width: 100%;
    transform: translate(0rpx, 0rpx) scale(0.9, 0.9);
    transition: all 0.6s ease 0s;
  }
  
  .image-banner{
    border: 1rpx solid #F8F7F8;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .shops-swiper .image-banner{
	  border: none;
  }
  .image-banner image{
    width: 100%;
    height: 100%;
  }
  
  /* 轮播指示点 start*/
  .indication{
    z-index: 9999;
    width: 100%;
    height: 36rpx;
    position: absolute;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
  }
  
  .spot{
    background-color: #FFFFFF;
    opacity: 0.6;
    width: 10rpx;
    height: 10rpx;
    border-radius: 20rpx;
    top: -70rpx;
    margin: 0 8rpx !important;
    position: relative;
  }
  
  .spot.active{
    opacity: 1;
    width: 30rpx;
    background-color: #FFFFFF;
  }
  

  
 /* 图标容器12 start */
 .tn-three{
     position: absolute;
     top: 50%;
     right: 50%;
     bottom: 50%;
     left: 50%;
     transform: translate(-38rpx, -20rpx) rotateX(20deg) rotateY(10deg) rotateZ(-20deg);
     text-shadow: -1rpx 2rpx 0 #f0f0f0, -2rpx 4rpx 0 #f0f0f0, -10rpx 20rpx 30rpx rgba(0, 0, 0, 0.2);
 }
 .icon12 {
   &__item {
     width: 30%;
     background-color: #FFFFFF;
     border-radius: 10rpx;
     padding: 30rpx;
     margin: 20rpx 10rpx;
     transform: scale(1);
     transition: transform 0.3s linear;
     transform-origin: center center;
     
     &--icon {
       width: 100rpx;
       height: 100rpx;
       font-size: 60rpx;
       border-radius: 50%;
       margin-bottom: 18rpx;
       position: relative;
       z-index: 1;
       
       &::after {
         content: " ";
         position: absolute;
         z-index: -1;
         width: 100%;
         height: 100%;
         left: 0;
         bottom: 0;
         border-radius: inherit;
         opacity: 1;
         transform: scale(1, 1);
         background-size: 100% 100%;
         background-image: url(https://tnuiimage.tnkjapp.com/cool_bg_image/icon_bg6.png);
 
           
       }
     }
   }
 }
  
  /* 自定义导航栏内容 start */
  .custom-nav {
    height: 100%;
    
    &__back {
      margin: auto 5rpx;
      font-size: 40rpx;
      margin-right: 10rpx;
      margin-left: 30rpx;
      flex-basis: 5%;
    }
    
    &__search {
      flex-basis: 60%;
      width: 100%;
      height: 100%;
      
      &__box {
        width: 100%;
        height: 70%;
        padding: 10rpx 0;
        margin: 0 30rpx;
        border-radius: 60rpx 60rpx 0 60rpx;
        font-size: 24rpx;
      }
      
      &__icon {
        padding-right: 10rpx;
        margin-left: 20rpx;
        font-size: 30rpx;
      }
      
      &__text {
        // color: #AAAAAA;
      }
    }
  }
  .logo-image{
    width: 65rpx;
    height: 65rpx;
    position: relative;
    border: 1rpx solid #F8F7F8;
    border-radius: 50%;
  }
  .logo-pic{
    background-size: cover;
    background-repeat:no-repeat;
    // background-attachment:fixed;
    background-position:top;
    border-radius: 50%;
  }
  /* 自定义导航栏内容 end */
  

  /* 热门图片 start*/
  .image-tuniao1{
    padding: 164rpx 0rpx;
    font-size: 40rpx;
    font-weight: 300;
    position: relative;
  }
  .image-tuniao2{
    padding: 75rpx 0rpx;
    font-size: 40rpx;
    font-weight: 300;
    position: relative;
  }
  .image-tuniao3{
    padding: 90rpx 0rpx;
    font-size: 40rpx;
    font-weight: 300;
    position: relative;
  }
  .image-pic{
    border: 1rpx solid #F8F7F8;
    background-size: cover;
    background-repeat:no-repeat;
    // background-attachment:fixed;
    background-position:top;
    border-radius: 10rpx;
  }

  /* 文章内容 start*/
  .tn-blogger-content {
    &__wrap {
      margin: 30rpx;
    }
    
    &__info {
      &__btn {
        margin-right: -12rpx;
        opacity: 0.5;
      }
    }
    
    &__label {
      &__item {
        color: #1D2541;
        background-color: #F3F2F7;
        border-radius: 10rpx;
        font-size: 22rpx;
        
        padding: 5rpx 15rpx;
        margin: 5rpx 0 0 18rpx;
        
        &--prefix {
          font-size: 24rpx;
          color: #1D2541;
          padding-right: 10rpx;
        }
      }
      
      &__desc {
        line-height: 55rpx;
      }
    }
    
    &__main-image {
      border: 1rpx solid #F8F7F8;
      border-radius: 16rpx;
      
      &--1 {
        max-width: 690rpx;
        min-width: 690rpx;
        max-height: 400rpx;
        min-height: 400rpx;
      }
      
      &--2 {
        max-width: 260rpx;
        max-height: 260rpx;
      }
      
      &--3 {
        height: 212rpx;
        width: 100%;
      }
    }
    
    &__count-icon {
      font-size: 40rpx;
      padding-right: 5rpx;
    }
  }
  
  .image-wallpaper{
    padding: 160rpx 0rpx;
    font-size: 40rpx;
    font-weight: 300;
    position: relative;
  }
  .image-pic{
    background-size: cover;
    background-repeat:no-repeat;
    // background-attachment:fixed;
    background-position:top;
    border-radius: 10rpx;
  }
  /* 文章内容 end*/
  
</style>